home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 223_01 / puts.c < prev    next >
Text File  |  1980-01-01  |  384b  |  18 lines

  1. #define NOCCARGC  /* no argument count passing */
  2.  
  3. /*
  4. ** puts(string)
  5. */
  6.  
  7.    static int i;
  8.  
  9. puts(string) char *string;  {
  10.    i=0;
  11.    while(string[i] != 0){
  12.       putchar(string[i]);
  13.       i++;
  14.    }
  15.    putchar('\n');
  16. }
  17.  
  18.